package com.atguigu.service;

import com.atguigu.pojo.TravelItem;
import com.atguigu.vo.PageResult;
import com.atguigu.vo.QueryPageBean;

import java.io.IOException;
import java.util.List;

/**
 * @author zhengkaiyuan
 * @version 1.0
 * @create 2021-06-19 15:51
 */
public interface TravelItemService {

    void add(TravelItem travelItem);

    PageResult findPage(Integer currentPage, Integer pageSize,String queryString);

    void deleteById(Integer id);

    TravelItem findById(Integer id);

    void edit(TravelItem travelItem);

    List<TravelItem> findALL();

     String downLoadFile(String filePath, String queryPageBean) throws Exception;
}
